\documentclass{article}
\usepackage{listings}
\usepackage{CJKutf8}
\usepackage{url}
\usepackage{cite}
\usepackage{amsthm}
\usepackage{xcolor}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{courier}
\usepackage{geometry}
\usepackage{enumitem}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{algorithm}
\usepackage{enumerate}
\usepackage{algorithmic}
%\usepackage{overcite}
\usepackage{listings}
\usepackage{multirow}
\usepackage[super]{natbib}
\geometry{left=2.7cm, right=2.7cm, top=3cm, bottom=3cm}
\title{Valkyrie}
\date{}
\begin{document}
\begin{CJK*}{UTF8}{gbsn}
	\lstset{language=C++}
    \lstset{breaklines}
    \lstset{extendedchars=false}

	\maketitle
    \tableofcontents
    \newpage	
	
	\section{type A}
		\subsection{subtype B}
			\begin{lstlisting}
write code here
printf("hello world\n");
			\end{lstlisting}	
    
    \section{Comments}
        \centering
        \includegraphics[width=0.8\paperwidth]{math0.jpg}
        \includegraphics[width=0.8\paperwidth]{math1.jpg}
        \includegraphics{math2.jpg}
        \includegraphics{math3.jpg}
        \includegraphics{math4.jpg}
        \includegraphics{math5.jpg}
        \includegraphics{math6.jpg}
        \includegraphics{math7.jpg}
        \includegraphics{math8.jpg}
        \includegraphics[width=0.8\paperwidth]{math9.jpg}
        \includegraphics{math10.jpg}
        \includegraphics[width=0.8\paperwidth]{math11.jpg}
        \includegraphics{math12.jpg}
        \includegraphics{math13.jpg}
        \includegraphics[width=0.8\paperwidth]{math14.jpg}
        \includegraphics[width=0.8\paperwidth]{math15.jpg}
        \includegraphics[width=0.8\paperwidth]{math16.jpg}
        \includegraphics[width=0.8\paperwidth]{math17.jpg}
        \includegraphics[width=0.8\paperwidth]{math18.jpg}
        \includegraphics[width=0.8\paperwidth]{math19.jpg}
        \includegraphics[width=0.8\paperwidth]{math20.jpg}
\end{CJK*}
\end{document}